Skip to main content

Delete Bank Account

DELETE /api/v1/Counterparties/accounts/:id

Description

This endpoint is used to delete a bank account of a counterparty.

Headers:

  • None

ApiKey:

  • No API key required

Content-Type:

  • text/plain
  • application/json
  • text/json

Path Parameters:

  • version: string, required

Query Parameters:

  • id: string, required

URL:

  • DELETE: {{baseUrl API url}}/api/v1/Counterparties/accounts/{id}

Response:

  • A GuidResponse object containing the ID of the deleted bank account.

Error Codes:

  • 400: Bad Request
  • 404: Resource not found
  • 500: Internal server error

Example:

Request:

DELETE /api/v1/Counterparties/accounts/0987654321

Response:

  • A Guide Response object containing the ID of the deleted bank account.

Error Codes:

  • 400: Bad Request

  • 404: Resource not found

  • 500: Internal server error

Example:

Request:

DELETE {{baseUrl API url}}/api/v{version}/Counterparties/accounts?id={id}

Response:

HTTP/1.1 200 OK
{
"id": "0987654321"
}

Method: DELETE

/api/v1/Counterparties/accounts?id=<uuid>

Headers

Content-TypeValue
Accepttext/plain

Query Params

Paramvalue
id<uuid>

Response: 200

{
"succeeded": "<boolean>",
"message": "<string>",
"errors": [
"<string>",
"<string>"
],
"data": "<uuid>"
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request DELETE \ 
--url /api/v1/Counterparties/accounts/:id \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!